﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FC.ERP.TMom.Infrastructure.Interfaces
{
    public interface IBaseRepository <T> where T : class
    {
        IQueryable<T> GetAll();

        Task<int> Add(T entity);
        Task<int> Update(T entity);
    }
}
